const fs = require("fs");
const path = require("path");

const rs = fs.createReadStream(path.resolve("./test.txt"));
const ws = fs.createWriteStream(path.resolve("./test1.txt"));

rs.pipe(ws);
